#include "../mqserver/connection.hpp"
#include <iostream>

int main()
{ 
    zhong::ConnectionManager::ptr manager = std::make_shared<zhong::ConnectionManager>();

    manager->createConnection(std::make_shared<zhong::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
                              std::make_shared<zhong::ConsumerManager>(),
                              zhong::ProtobufCodecPtr(),
                              muduo::net::TcpConnectionPtr(),
                              threadpool::ptr());
}